package main
import "fmt"
func main(){
	i := 4
	j := 6
	sum(i, j)
	sum(i, j, 5)
	sum(i, j, 5, 6)
}

func sum(number ...int){
	var sum int
	
	for _,num := range number{
		sum += num
	}
	
	fmt.Printf("和是：%d\n",sum)
}
